package cn.kgc.spring.entity;

import org.springframework.core.convert.converter.Converter;

import java.util.Date;

/**
 * @author: mosin
 * @version: v1.0  2022/10/12
 */
public class Student {

    private Date birth;
    private  Teacher teacher;

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }



    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    @Override
    public String toString() {
        return "Student{" +
                "birth=" + birth +
                ", teacher=" + teacher +
                '}';
    }
}
